For that case, the internally defined regular expressions can be overridden in file jobLogParser.properties. The file is created in the following directory when the Job Log Explorer is started for the first time:
By default that directory contains the example configuration file example_jobLogParser_vX.X.properties.
The file contains a description of each property. The properties are empty, in order to default to the standard regular expressions. Copy example_jobLogParser_vX.X.properties to jobLogParser.properties if you need to tweak a regular expression.
Note: Please notice that Java requires doubling back slashes when reading regular expressions from a file. See the example in example_jobLogParser_vX.X.properties. |
Some regular expressions contains terms like &{MESSAGE_ID}. These strings, starting with an ampersand, are variable to make the regular expressions easier to read. They are replaced by their actual values before the expressions are compiled.
The following list shows the variables and their associated properties:
Variable | Property |
---|---|
JOB_NUMBER | global.job.number |
OBJECT_NAME | global.object.name |
LICENSED_PROGRAM | global.licensed.program |
OS_RELEASE | global.os.release |
SPACES | global.spaces |
TIMEZONE | global.timezone |
SYSTEM_NAME | global.system.name |
PAGE_NUMBER_LABEL | page.number.label |
PAGE_NUMBER_VALUE | page.number.value |
PAGE_DATE | page.date |
PAGE_TIME | page.time |
HEADER_ATTRIBUTE_NAME | header.attribute.name |
HEADER_ATTRIBUTE_VALUE | header.attribute.value |
MESSAGE_ID | message.id |
MESSAGE_TYPE | message.type |
MESSAGE_SEVERITY | message.severity |
MESSAGE_DATE | message.date |
MESSAGE_TIME | message.time |
MESSAGE_CONTINUATION_LINE_INDENTION | message.continuation.line.indention |
The table below shows the keys that can be used to specify complete regular expressions with or without variables:
Property | Description |
---|---|
regex.startOfPage | Identifies the start of a page. Retrieves the system name and page number. |
regex.headerAttribute | Parses the page header. Retrieves the job name and job description. |
regex.messageFirstLine | Parses the message attributes, such as ID, type, description, from the first line of the message. |
regex.messageContinuationLine | Parses additional message attributes, such as message text, program name, library name and statement number, from the message continuation lines. |